Tables write correctly