Connecting UI to work.