reverting number of global vars to 15