implementation of conflicting constraint is done
compile but it is not working