Refactor, and Create bms_result.