implemented getBinTypes