New Function of MySql part