Tried to solve coding errors.