it feels like we should maybe create a separate method here, rather than making it accept two different types of input.