Solving the Frame Problem