made changes based on Paritosh's feedback.