Added spaces, changed variable names slightly