adding shopkeeper logic