homework of insert class