timer visibility to function