added metric plot