changing MPB interface for get/setvartype