deleted syserr in main class.