Forgot to use type immunities function