adding build figure widget