Created an easier way to create widgets