timing tweak and init vars