modded termsyn added