pending part of the get_state method

processing table schema