Added a more stable (hopefully) set system. Also added set integer