add basic status checking