adding some convenience methods to contact.h