Added x-end

The x_end was missing