implements parameters check
add batch support