finished fixing pointer problems.