modifcation details:
1.Cleaned up all the warnings of types "unused"

Warning:
these comments may lead to errors.