Improve ten.java Command