Removing unsued function