added removeEventListener method