getting the status of the execution