add two methods