Refactor constructor, process5xx()