comments and debugging

Just some more comments and debugging.