need to fix datatype of sets