declare finishing states