Updates, added compass code