master added possibility to set the function result
master added new result fetching to open window
master added more functions with result mapping