standardised object reaction code
removed unused function