kept running on each terminal tab created