add method

want to merge changes