added custom code injections