Reset the constructor in the prototype.
Define the minimumData function before use it.