finished with cup file.

passes all test files apart from 2