Replaced spaces with tabs, fixed indenting, moved sampleData to map.data, put { on newlines in a couple places. DEVNILL DON'T HIT ME