added infrastructure for impremove_header and imptransfer functions for later