removed superfluous go routine