basic logging have been added