handle integer keys