finally works both from jar and as naked .class?