added compute example