Implementing functions to treat continuous data