Variable name should be mediummode_allowed_motions