Code for the technical test