add simple Code Contraints