trying to solve some problems