code cleanup + timer + averagee time