more misc code bits

just code bits