added new plotting routines