serve only what is needed