remove test loop