this method can probably be removed from the code I copied, we don't use it