adding better error output

changing timeMarker to be a double