removed console logs for testing purpose