difficulty with TYPE