updates to vars and such