first version with own classloader