reich menu code functions