pass object into method, make header always small