solve several problems