A hydraulic system incorporating a modified spool controlling hydraulic fluid flow to non-load sensing functions for use with a load-sensing pump is described. The hydraulic system comprises a hydraulically piloted stroke valve for providing a load sensing signal to the load-sensing pump when the non-load sensing functions are operated.