switch between source and header