Added necessary comments