* working on logging