adding optional start measurement option
refactoring