Got the fatal errors all fixed. Now fixing final errors