add switch constant