first implementation of funset added