This is RandomPanel class.