add two function and program usage