#44 #36  make an ability to set value with a function