changed type of logging