inventory selection working