mistake define type