writeFrame ready