Added code to read the contacts