separate a add function and old function.
add function of billiards.