constraint needed three columns