adds contact functionality