add a new methos _setCurrent to set  current image