having trouble with table, which is weird