make hijackFunction public