Fixed major bug from last code. Stable code.