for the homework of our optional course