Handles accesing the key in for loops