added in some commenting to explain what i did for the css to work