added compass output