Code for CET4001