FIXED: Un-initialised variable "n".