start and end states