fixed bug where adding sets was incorrect with regards to set number