add kgw feature and change pow value, still have bug