program now working as it should;features implemented:znam_I/0