added sprintln and changed xtmX