changed time parsing