making base widgets