now slyce can take a range as argument