solve some problems