benhmark exported as function