changed global to ul,li