renamed main class and changed pgup pgdown to [ and ]