working constraints in that code tho