a sketch for what an optimization might look like.