addressed comments: check for ShortWrites and panic if they happen