examples of passing values to views