small modifications for plotting