added analytics step