testing and corrections