moved some definitions from HRS to OpenDeck