add validations and add renders