less code, also had weird bug when saving group preset