added top level scan method to table
scan operation is functional