The invention discloses a method of operating a system for neurofeedback (NFB) that includes trained animal in a feedback chain. Feedback chain consists of the following steps: A->;B->;C->;D->;A wherein said steps are: A. real time recording of the subject's (100) EEG performed by the user module (10) and forwarded to the mobile module (20); B. analytics of the recorded signal performed by the mobile module (20) and algorithmic decisioning about the stimulation form; C. forwarding the stimulation towards the animal (101, 102) by using of one or more ultrasonic speakers (14, 34, 44) simultaneously wherein the information needed for the animal performance is forwarded in the form of a coded ultrasonic signal; and D. performing of a learned action by the animal (101, 102) triggered by the received ultrasonic signal from the step C. which provides a stimulus to the subject (100) exposed to the NBF training.