createSelection was accidentally renamed
let createSelection also return an identifier through the first argument