Commented up new code better for future reference