back to working code, needs better attack