compiled my code with Kristin's code.