add some graph and binary sequence stuff