new file:   src/orientation.cpp