can we turn these two lines into a private method and use that? trying to keep methods as simple as possible :)