commented code and renamed variable