implemented fetching contacts