added a stand alone version of COMPASS