Solved the first problem!