finished constraints and projections