added method to repository and bean for added interface