adjust second example
adjust first example to use toast variable