refactor start. make markup methods order independent