key to int