made it extension loader friendly