added new methods to repository