Working on a program that imitates a bookstore