Update: using closure instead of s|get_data.