added ading variable length functions to an object