updating solution #3 testing