with plotting