skeleton for discretization laid out.