Revised course and added getting color from coordinates