Split continuous into two: function and data