type conversion on edited functions