wow this is ugly.