Add basic logic.