better lesson one algorythm to spec.