removed intermedeary function to create object in decorators
all decorators now take depth