rewrite test 2