why is this here? no reason to have a separate function for this