creating anon-closure-classes at runtime