a little more work on initial texture writing