orient functions ready for test