solution to some questions