updated checkwriting