added the last bits

added comments and a final tweak