trying to fix add method