clean up constraints example slightly