problem with looping through addresses, only checks first one now or infinite loop :/