add some useless type-safety