added testing console logs