provide utility functions lower_case and upper_case