added a comment, cleaned up a bit