added logging capabilities
more logging options