correctly assign type