writing to circdata file
changing vars