changed bool to int
added construct for shoppinglist