The 3 elements of an OUT OF THE BOTTLE story are:
1) A wish asked for by the hero or another, and the clearly seen need to be delivered from the ordinary.
2) A spell, which we must make logical by upholding “The Rules.”
3) A lesson: Be careful what you wish for! It’s the running theme in all OOTB’s. Life is good as it is.