changed to coord index
added damage test move
merge davids org branch