Rewrite of Powerline