get result from intent