Added hardware code