checking the status of an instance