def custom_operation(custom_fun):
    DirectEnergyConversion.__setattr__()

    def custom_fun_wrapper(*args):
        # execute decorated function
        ws = custom_fun(*args)
        #print "in decorator: ",properties
        #host = args[0]
        return ws

    return custom_fun_wrapper