struct app, dice