tweak to code