I guess that you need the instance variable for one map and as soon as the level is complete the bottle count should be set to zero, if so then you can reset the bottlecount as soon as your level is completed(when all 12 bottles are destroyed ) in this way in your new level you will have a fresh bottle count