changed table names to lowercase