Removed HAL dependency (resolve #1)