add works, refactor epicRepo