removed bad functions and added functionality to ll