Rounded out the basics of the code.