Changed to LSB logic