corrected errors, cleaned system.out