changed SQL table names to be singular