add constraints to client