logging capability added