using Long instead of long for stopTimestamp as per code review suggestion