moved sound runtime hooks into their own functions