edited code to plug in <ul> and <li>