bug from introducing new variable. was accidentally taking double exp
sometimes it works... stupid overflow errors