current version of program, needs rotate case for insert