we were missing a write function here, screwing up some events