cleaned up console log