Added Code to remove the placed node