Setup of Compass