added comments not too much else