remove test.r and give debugging messages for now