cleaned up naming conventions and added convenience function for creating widgets