[NOT TESTED] conditional grammar