refacored dumps' operator