Revert "porządki 2"

This reverts commit 65bd044d83f82da713a062b57de2d3cadf3047db.
IsValid() not working