Fixed piping issue, works up to level 3