New code added to loader