resolve Problem5