Worked on some controller logic.