refactor .lb