more methods on repository