implement compass to project