Adding contact functionality