Forced the code into working condition.