rename to selectType, add todo