program now returns a result