added symf function