added binary matrix format