Some outline mode magic