Introduced series of binary checks. They are not yet tested, as I need some testing data