Return response in if