removed unnecessary method in repository