remove test code for measuring overhead