make it a separate function just to be safe