[IMP] change float field to function field