finished programm, did benchmarks