.......PS. [ZBX-8040] created additional parameter for function