add description for getRepository method