a little more commenting and explanations