added utility for plotting features