converting to & from unboxed types