remove key func as not used