Added work with linked lists