 temp constraint constructor
