Implemented and tested getLE() function