example code for working with widget areas