Solved a bunch of problems