example with the methods first and last and addClass
gettarget and alert deleted