made adjustments as per comments. Indentations and all other errors.