fixed some errors and changed some things