added writefloatlock 1