added name presence validation