hardware module is not finished, but some errors have been fixed.