added origin option to extra hash