Changed variable names so that they make sense
VS Close