we need some type-aware functions, but for now...