added writefloatlock 3