outline and onion code