adding prepared statement
now we must have a enum for tables