change name method and added logs