the code of q1 is running... need more test and check