Corrected add method