Added hijacking code