added select method to table and recordset