ifleshed out hardware init routine.