extract function has two variants one argument and two arguments. Two argument version of extract takes a header of variable length, as we are not handling varbits as of now, no point in implementing two argument extract function.
This is for future reference.