add statistics on usage