todo -> done bom loop logic