added new function to get acces to empty index