added a closing a tag to appended link. changed done to then