added seventh problem