addind functions to HSV node