used ACM snippets for statistics