A temporary replacement that can be used when CASE is not working