add method working