started with least mean squares error stuff