modify simplify api
add spec