added some more types functionality