added start/stop instance checking