Corrected coordinates arrays and prettify