Modified GET_Contacts logic