Super market management system. ( nasty code )