fixed some errors and changed some pins