renamed varibales to make more sense