Added logs for debug purpose