Better INIT function. Better documentation.