added contacts functionality