switch to ms from seconds