server: add pump code