overflow solution