added states for course process