Probably test function. Should be removed (it's not used anymore)