Moved some variables around to be more classy.