the functions are not drawn in discrete samples and added abilities to set to red and blue functions.