fixed capitulate. It was almost right, just needed a slight tweek.