Added output of rk and pw
Temporary changes