do not need to specify the basic type in config file, change the mechanism