extension to any number of steps (well 9 for now)