changed tabular to array