bloks code and max patches