working on checkstatus