new interface, compass function added, fix mixare problem