added many plotting routines