editFs takes care of casting