use correct data get function