Changed the previous DEL aproach for a better one.