implementation of czybyszeb grad ok