added unit for rownanie_na_struktury and clean-up