created itemmirror object
Fixed scoping error
Merged into master