Added "appendFun" in View class