tuto frp : cleaning code