Added description to what the code was doing