removed widgets from scope; added more render functions