Basic alg. part1