--HR-302 redirection and code optimization