moved repo definition in class