implemented basic widget loader