add two methods

add two methods