finally made from_end_r work #2