public int deleteCurrent(){
		
		if(current.prior!=null){
			current.prior.next=current.next;
			current=current.prior;
		}
		else
			mylist.first=current.next;
		
		if(current.next!=null){
			current.next.prior=current.prior;
			current=current.next;
		}
		else
			mylist.last=current.prior;
		
		return current.data;
			
	}