plotting functionality excluded to pass tests