lsmb refactoring done