fixed some variable name problems
testing added