Fixed inmn system to be logical.