results logic was fixed