Variable renamed. Added comments