check for existance of result