cleaned possible outcomes function