Hardware and software code