move variables from instances to classes