Add tp03_p1_ex1 functionalities