overlay write working