Fleshed out variables; improved comments.