change library, start implement stats graphs