I guess this is something that might be needed elsewhere? Could it be extracted to a different method?