Updated code commentary