Added support for up to 10 levels.
Image edits.