Stage 1 complete. Need to comment the code further.