don't convert function twice