you can write it using `map` (which in fact return empty array if input array is also empty)
```
  def types
    discover_available_slp_service_types.map do |slp_service_type|
       parse_slp_type(slp_service_type)
    end
  end  
```