added analytics bits