removed test code from index