to string method for case exression