decorator for dummy functions