Changing tags for top and bottom