init hardware