updated example compute metrics