rename variables to disambiguate seconds
tidy