add

add new function and test mode project.