add validations

the function needs no argument, please take it off