made some changes with indentation