switched to dictionary type parameters and new check api