trying to list properties of a function