make the 'get' function better to support customer header