master loop up and running