some progress in the wp plugin