simple use of case