add a new option 'beforePost'
add a new option 'beforePost'
add a new option beforePost