added backend code for sets