update: todo: handle type checking of bool type