Added start and end functions to ScopeTimer