add pie in index