The initial version of the code