Fixing the add method