flow transforms functions