added plotting methods