change (to functional stile)