testing a main rewrite