lab8-test set method