Changed java rewrite definition of simple