tweaks before class