fixed-end-point problem