added a few comments and stuff. yay for shitty commit messages.