add two function