Setting up status checking