added example how to get last array key