retrieve data from dataset and use them in the code

thank you @russian-dima …unfortunately in the console is shown UNDEFINED…