Commit 4 : Overflow Error check added.