added comments
fixed typo on ensure installed