 should add tostring to protect k
should add tostring to protect k