re-added code to 'repo' file - previous refactored code = not good!