* fix in getBinType(), names changes, documentation