add ul and li elements