added some new examples
cleanups and magento calls with return value