DRY this out with the method below.