modified the mysq_class