reverted to older classloading method