Added rear and last
Added end and last