Added end position
Added end position