set x y coordin and output string