add template
add calc delivery time