get contacts method