modified domain and included repo class