for writing some cases easily