MAJOR CHANGE: Model changed. Debugs added.