fixed pr from JUnit, added size(), fixed exit()