added constraints to features