add cheking lenght of list