implemented populateContactIds().
write next test next.