Proper use of widget