took out conditionals that hid inventory functions for agent-completed.