added uva 571, 574, 598