moving ll data structure and editting all warnings