added in checks for sim time