Third time lucky. Now shift sval to fit into array properly.