adding a method to extract execution statistics