Refactor get_indicator to use case statement