How does taking inventory work?