My code for comp1