adding case expressions