Switch from block ids to Material