Revert "changes to the code third try"

This reverts commit 6ebf1521a90163e5a444c95f15cd54e28f166e61.