add presence validation