refactor lotxlot