Added the necessary comments