added siegeunit code