defined list() behaviour for functions; fortunately it is back compatable.