should not ref function types