Abstract tokenization prodedure