code cleanup
added timer to check example