working on constraint violation error messages