trying to figure out type extensions