added flush and and 1kind compare