Edited some wrong variable/function names