Added implementation of LSB functions