Added console logs for testing