moves headers from header files into source files if they are only needed there