added basic logger