added constraints