using appRewrite and MndlKit