Solved two problems