Got constraints working