use proper api to return data
add openmp test