add validations, add text code for views