adding benchmark code