worked on the open and close tags