use has_table method to check if table exists
use has_table method to check if table exists
remove innesesary comment and use get_field_storage funtion