re-jigged batch posting, much more robust