adding funsets solution