Solved last problem