FIX: function in assignment with parameters