acceptType may be null