using slice instead of list