used getData() instead of .data in LL class