removed loop from resolve_marca