Check returned values