getting ready 4 rewrite