updated example 2 to use full window