testing with workaround, saving variable not working