adding rules for validateion