clear up code, add io for time and result