Fixed bugs in tocks.java