Hooked up contact code