# collection of utility code using `unsafe` keyword