Added result validation