basic onion-skin logic