Added func as functions attributes