Changed validation to integer