I suggest moving this into its own method.