Major errors fixed.