move a bunch of vars to __init__