fixed the code to do some things and fixed corey. that should teach him.