add constraints for market class