endstate