Repositions one line of code and adds one other