improvements done, NEXT: check terminal status after successful completion of all actions