//check if rep working