Corrected remove() method;