Merged everyone's code together.