seperated input source and header