adding presence validation