adding type extensions