Added extra credit work to return overflow status