added check for completed training in protocol action