Solved some code errors...