implemented benchmark program