Was a bit fiddly and difficult to reach when you have a bad back, removed the cooler pipe first, then the wiring including the l/h injector plugs this let me move it one side and out of harm, hard lines, disconnected, unclipped and moved aside, oil filter, throttle body, and breather going to be tricky to put back, then pump to fuel rails undone at unions and moved enough, then belt cover and part of the back plate 2 x10mm, tensioner off being careful to not damage threads, belt off, next was the trickiest job for me any way there are two torqs each side of the pump inside timing cover had to use 1/4 drive as access is tight, two more 10mm from above and its out, may have missed something out. just to bore you further there are two different pumps for the D3 5ws40157 pre 07 euro 2/3 also has a distributer rail on pump giving you an extra plug, also listed as XF and peugeot and another 5ws40273 from 07 on euro 4 fuel rails and hard line connectors including fuel rail pressure sensor, and engine loom are all pre or post so be careful ordering these parts because their often listed as 04-09. 09 euro 4 does not have knock sensors either apparently will put pics in next post as it wont let me post on same page as text