add utility for test