Added 'overflowed' variable.