separate view and process method for result.