more time related work, seems to compile and run