added funs to array