added timer for testing