remove plotting functions