add implicit conversion to type