Found an error in the previous version and modified