completed contact function