changed init to return just the ID's, need to add a function to return the IP addresses or set up an event emitter