added judget validations