Pencil in some basic logic.