repcontroller