added prototype for length of tables' rows