repos controller