switched to  asynchronous network call, through swift closure.