added typeDec