change from [].slice.call to slice()
version