Edited some code.