changed the marker and color code according to Raphael's comments