needed to delal with table