started variable arity function niche that will work recursively to create object