decorators partially functional