An attempt to rewrite MSF in a saner language