changed time to ms