added benchmark codes