Implemented ui for scopes and maxint