debugging
minor changes
added timer
minor change