Create polynomial function and return type update