Debugging 'get' function