logic may be used to reduce errors