An efficient system to automatically write a qualified WPS?