start implementation of proper logging