move compass to enum