added time for spatial grid