Took out line of code that was causing problems.