removing unused join_sql method